package com.ctshk.rpc.bus.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.ctshk.common.service.mapper.CtsBaseMapper;
import com.ctshk.rpc.bus.entity.BusLineSeat;

/**
 * <p>
 * 线路座位表 Mapper 接口
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-08
 */
public interface BusLineSeatMapper extends CtsBaseMapper<BusLineSeat> {

	/**
	 * 查询某路线的座位号列表
	 * @param lineId
	 * @return
	 */
	@Select("select t.seat_number from t_bus_line_seat t where t.line_id = #{lineId} order by t.seat_number")
	List<String> querySeatNumberListByLine(Long lineId);
}
